package examF;

import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author thilinaj
 */
public class examf {
    
    static int[] a =  {100,200};
    
    static String[] aa = {"100","200"};
    
    
     
    
    public static void main(String[] args) {
        Foo ff = new Foo();
        ff.setX(100);
        setnull(ff);
        System.out.println(ff.getX());
        String[] aa = {"100","200"};
        //aa= new String[2]{"1","b"};
        
        
        A.myname();
    }
    
    static Foo setnull(Foo f){
        //f = new Foo();
        f.setX(22);
        return f;
    }
    
    static class AA{
        void dostuf()throws Exception{
            throw new Exception();
        }
    }
    
    static class BB extends AA{
        void dostuf(){
            System.out.println("sdas");
        }
    }
}
